package com.aliyun.messagemgt.application.service;

import com.aliyun.messagemgt.common.dto.send.MsgRecordVO;
import com.aliyun.messagemgt.common.dto.send.Receiver;
import com.aliyun.messagemgt.dto.MsgHandleLog;

import java.util.List;

/**
 * Created with IDEA
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/1/22
 * @time:20:46
 */
public interface MsgHandleLogService {

    /**
     * 批量插入
     *
     * @param msgRecordVos
     * @return
     */
    int batchMsgHandleLogInsert(List<MsgRecordVO> msgRecordVos);

    /**
     * 更新日志推送结果
     * @param msgHandleLog
     */
    void updateByMsgId(MsgHandleLog msgHandleLog);

    /**
     * 更新日志推送结果
     * @param msgHandleLog
     * @param receiverList
     */
    void updatePushResult(MsgHandleLog msgHandleLog, List<Receiver> receiverList);

}
